From: Ben Hutchings Date: Sat, 15 Jan 2022 21:59:11 +0000 (+0100) Subject: tools/perf: Fix missing LDFLAGS for some programs X-Git-Tag: archive/raspbian/6.12.27-1+rpi1^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=d9fb528ca44395988fdb742acaded7189b4f5b42;p=linux.git tools/perf: Fix missing LDFLAGS for some programs Signed-off-by: Ben Hutchings Gbp-Pq: Topic bugfix/all Gbp-Pq: Name tools-perf-fix-missing-ldflags-for-some-programs.patch --- diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index e4705fd8d3b..5bdd8096513 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -842,7 +842,7 @@ $(OUTPUT)dlfilters/%.o: dlfilters/%.c include/perf/perf_dlfilter.h .SECONDARY: $(DLFILTERS:.so=.o) $(OUTPUT)dlfilters/%.so: $(OUTPUT)dlfilters/%.o - $(QUIET_LINK)$(CC) $(EXTRA_CFLAGS) -shared -o $@ $< + $(QUIET_LINK)$(CC) $(EXTRA_CFLAGS) $(LDFLAGS) -shared -o $@ $< ifndef NO_JVMTI LIBJVMTI_IN := $(OUTPUT)jvmti/jvmti-in.o